﻿using SqlSugar;
using System;

namespace Models
{
    ///<summary>
    ///操作日志表
    ///</summary>
    [SugarTable("operation_log")]
    public partial class OperationLog
    {
        public OperationLog()
        {


        }
        /// <summary>
        /// Desc:主键Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// Desc:用户名
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string UserName { get; set; }

        /// <summary>
        /// Desc:条码号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string UnitId { get; set; }

        /// <summary>
        /// Desc:设备名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string DeviceName { get; set; }

        /// <summary>
        /// Desc:具体操作
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Remark { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime LastUpdateTime { get; set; }

        /// <summary>
        /// Desc:控制器
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Controller { get; set; }

        /// <summary>
        /// Desc:方法
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string MethodName { get; set; }

    }
}
